home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 21 / AMIGAplus Sonderheft 21 (1999)(ICP)(DE)[!].iso / PublicDomain / Anwendungen / RecentScript / Plugins / RecentScript.yam < prev   
Text File  |  1999-08-23  |  867b  |  38 lines

  1. /*****
  2.   $VER: RecentScript YAM PlugIn 1.3 (18.4.98) ©Arndt van der Molen
  3.  
  4.         RecentScript PlugIn for email reader YAM.
  5.  
  6.   Starts the MUIRexx application 'RecentScript' with the
  7.   currently selected mail in the message list window as
  8.   argument.
  9.  
  10.   Installation:
  11.  
  12.   Add following line to 'YAM:.config'
  13.  
  14.   RexxMenu0 = MUIRexx:RecentScript/Plugins/RecentScript.yam
  15.  
  16.   whereas the number after 'RexxMenu' is the first unused
  17.   in your YAM configuration. Note: The maximum allowed number
  18.   is 9.
  19. *****/
  20.  
  21. OPTIONS RESULTS
  22.  
  23. ADDRESS 'YAM' GetMailInfo File
  24. filename=RESULT
  25.  
  26. IF filename = 'RESULT' THEN filename = ""
  27.  
  28. IF EXISTS(filename) THEN DO
  29.   ADDRESS COMMAND 'filenote <>nil:' filename 'O'
  30.   ADDRESS 'YAM' MailUpdate
  31. END
  32.  
  33. PRAGMA("STACK", 15000)
  34.  
  35. ADDRESS COMMAND 'run <>NIL: MUIRexx:MUIRexx "MUIRexx:RecentScript/RecentScript.rexx 'filename'" PORT RECENTSCRIPT'
  36.  
  37. EXIT
  38.